﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AgvPublic
{
    public class TimerTask : Timer
    {

        #region <变量>
        /// <summary>
        /// 定时器id
        /// </summary>
        private string ip;
        /// <summary>
        /// 定时器参数
        /// </summary>
        private int port;

        private TcpClientPlc plcTcp;
     
        #endregion

        #region <属性>
       
        /// <summary>
        /// 定时器参数属性
        /// </summary>
        public string Ip
        {
            set { ip = value; }
            get { return ip; }
        }

        public int Port
        {
            set { port = value; }
            get { return port; }
        }

        public TcpClientPlc PlcTcp
        {
            set { plcTcp = value; }
            get { return plcTcp; }
        }     
        #endregion
        ///<summary>
        /// 构造函数
        /// </summary>
        public TimerTask()
            : base()
        {

        }
    }
}
